package com.comtop.springboot.templet.modules.app.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.comtop.springboot.templet.modules.app.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 用户
 * 
 * @author wangjiafang
 * @version 1.0
 * @since 2017-03-23 15:22:06
 */
@Mapper
public interface UserMapper extends BaseMapper<UserEntity> {

    @Select("select * from app_user where mobile = #{mobile}")
    UserEntity queryByMobile(String mobile);

}
